package com.atguigu.spzx.user.mapper;

import com.atguigu.spzx.model.entity.user.UserAddress;

import java.util.List;

/**
 * @author Mahone
 */
public interface UserAddressMapper {
    /**
     * 获取用户地址列表
     * @return userId
     */
    List<UserAddress> selectByList(Long userId);

    /**
     * 获取地址信息
     * @param id
     * @return
     */
    UserAddress getUserAddress(Long id);
}
